<html>
  <head>
    <link type="text/css" rel="stylesheet" href="/static/stylesheets/main.css" />

    {{title}}
  </head>
  <body>
  {{header}}

  <b>Send a Next Actions email:</b>
  <form action="/send" method="post">
    <table>
      <tr>
        <td>Category</td>
        <td>
          <SELECT NAME="category" id="category" tabindex="2">
            {% for cat in categories %}
              {% ifequal cat.name mru_cat %}
                <OPTION VALUE="{{cat.name}}" selected="selected">{{cat.name}}</option>
              {% else %}
                <OPTION VALUE="{{cat.name}}">{{cat.name}}</option>
              {% endifequal %}
            {% endfor %}
          </SELECT>
          <a href="/categorypage" class="hint">Add/Edit Categories</a>
        </td>
      </tr>
      <tr>
        <td>Email</td>
        <td><input type="text" name="email" value="{{mru_email}}"></td>
      </tr>
    </table>
    <input type="submit" value="Email me">
  </form>

  {{footer}}
  </body>
</html>
